package com.cc.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * @ClassName: User
 * @Description: 用户
 * @Author: 晓东√
 * @Date: 2024-09-14 09:16
 * @Version: 1.0
 **/
public class User implements Serializable {

    private static final long serialVersionUID = 5206383930534542680L;

    private int id;

    private String username;

    private Date birthday;

    private String sex;

    private String address;


    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", birthday=" + birthday +
                ", sex='" + sex + '\'' +
                ", address='" + address + '\'' +
                '}';
    }
}
